package cn.yunhe.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * 司机实体类表
 * driverId ID
 * driverName 姓名
 * dphone 电话
 * flag 状态
 */
@Data
public class Driver implements Serializable {
    private int driverId;
    private String dname;
    private String dphone;
    private int flag;

    public Driver(int driverId) {
        this.driverId = driverId;
    }

    public Driver(String driverName, String dphone, int falg) {
        this.dname = driverName;
        this.dphone = dphone;
        this.flag = falg;
    }

    public Driver(int driverId, String driverName, String dphone, int falg) {
        this.driverId = driverId;
        this.dname = driverName;
        this.dphone = dphone;
        this.flag = falg;
    }

    public Driver(String dname, String dphone) {
        this.dname = dname;
        this.dphone = dphone;
    }

    public Driver(int driverId, String dname, String dphone) {
        this.driverId = driverId;
        this.dname = dname;
        this.dphone = dphone;
    }

    public Driver() {
    }
}
